package com.example.bbs.service;


import com.example.bbs.model.User;

/**
 * @auther: zhangxin
 * @Description:
 */
public interface UserService {

    public boolean doReg(User user);
    public User doLogin(User user);

    public User findUserById(int userId);

    public User findUserByPostId(int postId);

    public boolean updatePwd(User user,String pwd);

    public boolean updateLoginTime(int userId);

    public User findUserByUser(User user);

    public User findUserByName(User user);

}
